net/http.persistConn.readLimit (field)
9 uses
net/http (current package)
transport.go#L1915: readLimit int64 // bytes allowed to be read; owned by readLoop
transport.go#L1948: if pc.readLimit <= 0 {
transport.go#L1951: if int64(len(p)) > pc.readLimit {
transport.go#L1952: p = p[:pc.readLimit]
transport.go#L1958: pc.readLimit -= int64(n)
transport.go#L2117: pc.readLimit = pc.maxHeaderResponseSize()
transport.go#L2140: if pc.readLimit <= 0 {
transport.go#L2151: pc.readLimit = maxInt64 // effectively no limit for response bodies
transport.go#L2336: pc.readLimit = pc.maxHeaderResponseSize() // reset the limit
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |